package com.sunshine.bean;

import java.sql.Timestamp;

/**
 * Created by along on 11/16/17.
 */
public class Information {

    private String id;
    private String name;
    private String contact;
    private String title;
    private String location;
    private String content;
    private String type;
    private Boolean publical;
    private String attachment;
    private String status;
    private Timestamp createdDate;
    private String conductor;
    private Timestamp responseDate;
    private String response;

    public Information() {
    }

    public Information(String id, String name, String contact, String title, String location, String content, String type, Boolean publical, String attachment, String status, Timestamp createdDate, String conductor, Timestamp responseDate, String response) {
        this.id = id;
        this.name = name;
        this.contact = contact;
        this.title = title;
        this.location = location;
        this.content = content;
        this.type = type;
        this.publical = publical;
        this.attachment = attachment;
        this.status = status;
        this.createdDate = createdDate;
        this.conductor = conductor;
        this.responseDate = responseDate;
        this.response = response;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Boolean getPublical() {
        return publical;
    }

    public void setPublical(Boolean publical) {
        this.publical = publical;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Timestamp getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Timestamp createdDate) {
        this.createdDate = createdDate;
    }

    public String getConductor() {
        return conductor;
    }

    public void setConductor(String conductor) {
        this.conductor = conductor;
    }

    public Timestamp getResponseDate() {
        return responseDate;
    }

    public void setResponseDate(Timestamp responseDate) {
        this.responseDate = responseDate;
    }

    public String getResponse() {
        return response;
    }

    public void setResponse(String response) {
        this.response = response;
    }

    @Override
    public String toString() {
        return "Information{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", contact='" + contact + '\'' +
                ", title='" + title + '\'' +
                ", location='" + location + '\'' +
                ", content='" + content + '\'' +
                ", type='" + type + '\'' +
                ", publical=" + publical +
                ", attachment='" + attachment + '\'' +
                ", status='" + status + '\'' +
                ", createdDate=" + createdDate +
                ", conductor='" + conductor + '\'' +
                ", responseDate=" + responseDate +
                ", response='" + response + '\'' +
                '}';
    }

    public enum TYPE {COMPLAINTS, ADVISORY, FEEDBACK, PRAISE, SUGGEST}

    public enum STATUS {WAITING, PROCESSING, END}
}
